home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Arsenal Files 6
/
The Arsenal Files 6 (Arsenal Computer).ISO
/
wildcat
/
password.zip
/
PASSWORD.WCC
< prev
next >
Wrap
Text File
|
1996-02-12
|
2KB
|
76 lines
start:
cls
dim ans as string
dim pass as string
dim chk as long
dim ex as integer
dim id as integer
dim uname as string
locate 10, 5:print"@0A@";"Enter Users Name ";"@0D@";"[ ]"
locate 10, 23:uname = inputmask("","XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX")
locate 11, 5:print"@0A@";" Enter Users ID ";"@0D@";"[ ]"
locate 11, 23:id = inputnumber("",1, 9999999)
for ex = 1 to len(uname)
chk = chk + id + asc(mid(uname, ex, 1))
next ex
beg:
locate 12, 4
print"@0A@";" Time Password Is ";"@0C@";"[ ]"
locate 12, 23:print"@0C@" chk
pass = progpath + "password.sec"
open "password.sec" for append as #1
print #1, ucase(uname), chk
close #1
open "secret" for output as #2
print #2, " "
print #2, ucase(uname)", Here is your special password for extended"
print #2, "access. Your password is-->"; chk ;"<--"
print #2, "Use it wisely!"
print #2, " "
print #2, " ";makewild.sysopname
close #2
goto msg1
ret:
locate 13, 10
print "@04@";"Do you want to generate another password?";
displayprompt 5:print" ";
input ans
select case ucase(ans)
case "Y"
goto start
case "N"
cls
delay .4
locate 10, 10
print"@0B@";"Thank you for using Password Generator!"
delay 2
end
case else
cls
locate 10, 10
displayprompt 5
print"@8C@";" ONLY!!"
delay 1
goto ret
end select
end
/////////////////////////////////////////////////////////////////////////////
// Send user their password. //
// //
/////////////////////////////////////////////////////////////////////////////
msg1:
dim note as string
dim msg as messageheader
note = "secret"
msg.from = makewild.sysopname
msg.to = uname
msg.subject = "Extended Access"
addmessage msg, note
del "secret"
delay 1
locate 9, 10:print "@05@Password Sent To, ";ucase(uname)
delay 2
goto ret